import App from './App'
import Vue from 'vue'
import store from './store/index'
import uView from "uview-ui";
import globalMethods from './utils/globalMethods.js'
Vue.use(uView);
import cityPicker from 'components/cityPicker.vue'
Vue.component('city-picker',cityPicker)

Vue.prototype.$store=store;

// 挂载全局方法到Vue原型
Object.keys(globalMethods).forEach(key => {
  Vue.prototype[key] = globalMethods[key]
})


Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()

